package org.dcm4che3.tool.printscp.enums;

public enum DBType {
	MYSQL("mysql"), SQLSERVER("sqlServer");
	
	private String type;
	
	DBType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}
	
	public DBType getType(String type) {
		DBType[] types = DBType.values();
		for (DBType t : types) {
			if (t.getType().equals(type)) {
				return t;
			}
		}
		return this;
	}
}
